package clazz.innerclazz;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2020/12/21
 * @Version：1.0.0
 */
public class OutClass {

    /**
     * outId
     **/
    private Integer outId;
    /**
     * innerClazz
     **/
    private MyInnerClazz innerClazz;


    public class MyInnerClazz {

        private int innerId;
        private String innerName;

        public int getInnerId() {
            return innerId;
        }

        public void setInnerId(int innerId) {
            this.innerId = innerId;
        }

        public String getInnerName() {
            return innerName;
        }

        public void setInnerName(String innerName) {
            this.innerName = innerName;
        }

        @Override
        public String toString() {
            return "MyInnerClazz{" +
                    "innerId=" + innerId +
                    ", innerName='" + innerName + '\'' +
                    '}';
        }
    }

    public MyInnerClazz getInnerClazz() {
        return innerClazz;
    }

    public void setInnerClazz(MyInnerClazz innerClazz) {
        this.innerClazz = innerClazz;
    }

    public Integer getOutId() {
        return outId;
    }

    public void setOutId(Integer outId) {
        this.outId = outId;
    }

    @Override
    public String toString() {
        return "OutClass{" +
                "outId=" + outId +
                ", innerClazz=" + innerClazz +
                '}';
    }
}
